package com.atme.micromall.product.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@EnableEurekaClient
public class TesrController {

    @Autowired
    ServiceAdminFeignClient serviceAdminFeignClient;

    @RequestMapping("/call")
    public String call(){
        String a=serviceAdminFeignClient.tset();
        return "a:"+a;
    }

}
